home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 September / PCWorld_2008-09_cd.bin / v cisle / sadanastroju / footiefox-2.1.2-fx.xpi / chrome / footiefox.jar / content / footiefox / footiefox.xul < prev    next >
Extensible Markup Language  |  2008-06-14  |  14KB  |  221 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!-- ***** BEGIN LICENSE BLOCK *****
  4. EULA
  5.  
  6. Terms of use
  7.  
  8. The FootieFox - Boris Ruf and Jan Schulz-Hofen GbR (ôFootieFoxö) grants you the non-transferable, non-exclusive and revocable right to use the FootieFox Software free of charge, for your personal, non-commercial use only, subject to this licensing agreement. However, you may not use the FootieFox Software in any manner that could overburden, impair or damage the FootieFox Web Service (e.g., you are not allowed to use the FootieFox Software in an automated manner).
  9.  
  10. Intellectual Property
  11.  
  12. After obtaining written consent of FootieFox by e-mail (contact@footiefox.com) you are permitted to offer the FootieFox Software as a whole, without any modifications and free of charge for download on your website other than footiefox.com. You may not lease, rent or sell the FootieFox Software or the information presented to you through the FootieFox Software. Furthermore, you may not sublicense or otherwise transfer any right in the FootieFox Software. You agree not to modify, adapt, translate, decompile, reverse engineer, disassemble or otherwise attempt to derive source code from the FootieFox Software. Distributing or creating derivative works based on the FootieFox Software is expressly not permitted. You also agree to not remove, obscure, or alter FootieFoxÆ and or any third partyÆs copyright notice, trademarks, or other proprietary rights notices presented through or contained in the FootieFox Software.
  13.  
  14. Disclaimer of Warranties
  15.  
  16. The FootieFox Software is provided free of charge and with no warranties whatsoever. FootieFox and any third party who provides its service through the FootieFox Software disclaim any responsibility for any harm resulting from the use of the FootieFox Software and/or any service provided by any third party through the FootieFox Software.
  17.  
  18. THE FOOTIEFOX SOFTWARE IS PROVIDED ôAS ISö WITH ALL FAULTS AND WITH NO WARRANTIES WHATSOEVER. FOOTIEFOX EXPRESSLY DISCLAIMS ALL WARRANTIES OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES THAT THE PRODUCT IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE AND NON-INFRINGING. FOOTIEFOX AND THIRD PARTIES WHO PROVIDE SERVICE THROUGH THE FOOTIEFOX SOFTWARE DISCLAIM ANY WARRANTIES REGARDING THE SECURITY, RELIABILITY, TIMELINESS, AND PERFORMANCE OF THE FOOTIEFOX SOFTWARE AND/OR THE INFORMATION PRESENTED TO YOU THROUGH THE FOOTIEFOX SOFTWARE.
  19.  
  20. YOU UNDERSTAND AND AGREE THAT YOU BEAR ENTIRE RISK AS TO THE FITNESS, THE QUALITY AND THE PERFORMANCE OF THE PRODUCT AND THAT YOU WILL BE SOLELY RESPONSIBLE FOR ANY DAMAGES TO YOUR COMPUTER SYSTEM OR LOSS OF DATA THAT RESULTS FROM THE DOWNLOAD OR USE OF THE FOOTIEFOX SOFTWARE. IN SOME COUNTRIES THE EXCLUSION OR LIMITATION OF IMPLIED WARRANTIES IS NOT ALLOWED, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
  21.  
  22. Limitation of Liability
  23.  
  24. TO THE EXTENT PERMITTED BY LAW, FOOTIEFOX OR ANY THIRD PARTY WILL NOT BE LIABLE FOR ANY INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES ARISING OUT OF OR IN ANY WAY RELATING TO THIS LICENSING AGREEMENT OR THE USE OF OR INABILITY TO USE THE FOOTIEFOX SOFTWARE, INCLUDING WITHOUT LIMITATION DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, LOST PROFITS, LOSS OF DATA, AND COMPUTER FAILURE OR MALFUNCTION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES AND REGARDLESS OF THE THEORY (E.G. CONTRACT OR TORT) UPON WHICH SUCH CLAIM IS BASED. IN SOME COUNTRIES THE EXCLUSION OR LIMITATION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES IS NOT ALLOWED, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
  25.  
  26. Other Terms
  27.  
  28. The present license agreement will be governed by and construed in accordance with the laws of the Federal Republic of Germany and shall not be governed by the United Nations Convention on the International Sale of Goods. The courts of Berlin shall have exclusive jurisdiction.
  29.  
  30. If any part of this license agreement is held invalid or unenforceable, that part will be construed to reflect the partiesÆ original intent, and the remaining portions will remain in full force and effect.
  31.  
  32. * ***** END LICENSE BLOCK ***** -->
  33.  
  34.  
  35. <?xml-stylesheet href="chrome://footiefox/skin/footiefox.css" type="text/css"?>
  36.  
  37. <!DOCTYPE overlay SYSTEM "chrome://footiefox/locale/en-US/footiefox/footiefox.dtd">
  38.  
  39.  
  40. <overlay id="footiefox" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml">
  41.  
  42.     <!--import scripts-->
  43.     <script type="application/x-javascript" src="chrome://footiefox/content/scoreboard.js"/>
  44.     <script type="application/x-javascript" src="chrome://footiefox/content/footiefox.js"/>
  45.     <script type="application/x-javascript" src="chrome://footiefox/content/json.js"/>
  46.  
  47.  
  48.     <!--import languages package-->
  49.     <stringbundleset id="stringbundleset">
  50.         <!-- <stringbundle id="stringbundle_dictionary" src="chrome://footiefox/locale/footiefox.properties"/> -->
  51.         <stringbundle id="stringbundle_dictionary"/>
  52.         <stringbundle id="leagues-data-bundle" src="chrome://footiefox/content/leagues.dat"/>
  53.         <stringbundle id="leagues-data-bundle-updated"/>
  54.         <stringbundle id="teams-data-bundle" src="chrome://footiefox/content/teams.dat"/>
  55.         <stringbundle id="teams-data-bundle-updated"/>
  56.         <stringbundle id="countries-data-bundle"/>
  57.         <stringbundle id="partners-data-bundle" src="chrome://footiefox/content/partners.dat" />
  58.     </stringbundleset>
  59.  
  60.  
  61.     <!--load extension-->
  62.     <script type="application/x-javascript">
  63.         window.addEventListener("load", ffLoad, false);
  64.         window.addEventListener("unload", ffUnload, false);
  65.         
  66.     </script>
  67.  
  68.  
  69.  
  70.     <!-- DEMO -->
  71.  
  72. <!--
  73.  
  74.   
  75.    <keyset>
  76.           <key id="footiefox-key" modifiers="control alt" key="a" oncommand="iFootieFox.triggerGoalManually(0);"/>
  77.         <key id="footiefox-key" modifiers="control alt" key="s" oncommand="iFootieFox.triggerGoalManually(1);"/>
  78.         <key id="footiefox-key" modifiers="control alt" key="w" oncommand="openDialog('chrome://footiefox/content/wizard.xul', 'wizard', 'chrome,dialog');"/>
  79.     </keyset>
  80.  
  81. -->
  82.  
  83.     <!--context menu statusbar-->
  84.     <popup id="mainPopupSet">
  85.         <menupopup id="menupopup_partnermenupopup">
  86.             <menuitem id="ff_popupmenu_configurepartner" label="&ff.popupmenu.configurepartner;" oncommand="iFootieFox.openOptions('ff_options_tabs_language');"/>
  87.         </menupopup>
  88.         
  89.         <menupopup id="menupopup_icon1menupopup">
  90.             <menuitem label="&ff.popupmenu.matchreport;" id="ff_popupmenu_matchreport1" style="font-weight:bold;" oncommand="iFootieFox.contextMenuReportClicked1(1);"/>
  91.             <menuitem label="Team information" id="icon1menupopup_team" oncommand="iFootieFox.openTeamInformation('1',8);"/>
  92.             <menuitem label="&ff.popupmenu.localizeteam;" id="icon1menupopup_teamlocalization" oncommand="iFootieFox.openTeamNameLocalization();"/>
  93.             <menuseparator id="menupopup_icon1_sep"/>
  94.             <menuitem id="menupopup_icon1_propose" label="Propose local partner" oncommand="iFootieFox.visitWebpage('http://en.footiefox.com/database/propose_partner');"/>
  95.         </menupopup>
  96.         
  97.         <menupopup id="menupopup_icon2menupopup">
  98.             <menuitem label="&ff.popupmenu.matchreport;" id="ff_popupmenu_matchreport2" style="font-weight:bold;" oncommand="iFootieFox.contextMenuReportClicked2(1);"/>
  99.             <menuitem label="Team information" id="icon2menupopup_team" oncommand="iFootieFox.openTeamInformation('2',9);"/>
  100.             <menuitem label="&ff.popupmenu.localizeteam;" id="icon2menupopup_teamlocalization" oncommand="iFootieFox.openTeamNameLocalization();"/>
  101.             <menuseparator id="menupopup_icon2_sep"/>
  102.             <menuitem id="menupopup_icon2_propose" label="Propose local partner" oncommand="iFootieFox.visitWebpage('http://en.footiefox.com/database/propose_partner');"/>
  103.         </menupopup>
  104.         
  105.         <menupopup id="menupopup_mainmenupopup">
  106.             <hbox pack="center" onclick="iFootieFox.visitWebpage('http://www.footiefox.com/');">
  107.             <image id="menu_header"/>
  108.             </hbox>
  109.             <menuseparator/>
  110.             <menuitem label="&ff.popupmenu.rotate;" checked="false" id="ff_popupmenu_rotate" type="checkbox" oncommand="iFootieFox.toggleRotate();"/>
  111.             <menuseparator/>
  112.             <menuitem label="&ff.popupmenu.options;..." id="ff_popupmenu_options" oncommand="iFootieFox.openOptions(null);"/>
  113.             <menuitem label="&ff.popupmenu.about;" id="ff_popupmenu_about" oncommand="iFootieFox.openAbout();"/>
  114.             <menuseparator/>
  115.             <hbox id="ff_bannerhbox" pack="center" onmouseover="iFootieFox.highlightMenuItem(this);" onmouseout="iFootieFox.unhighlightMenuItem(this);">
  116.             <image id="ff_banner"/>
  117.             </hbox>
  118.             <menuseparator id="ff_bannersep" hidden="true"/>
  119.             <label value="&ff.notice.nomatches;" id="ff_notice_nomatches" hidden="true"/>
  120.             <menuitem id="ff_notice_noconnection" label="&ff.notice.noconnection;" oncommand="iFootieFox.callWhatsOn(true);" onmouseover="iFootieFox.displayReconnect();" onmouseout="iFootieFox.displayUnreconnect();" hidden="true"/>
  121.             <menuitem oncommand="iFootieFox.openOptions('ff_options_tabs_leagues')" label="&ff.notice.noleagues;" onmouseover="iFootieFox.displaySelectLeagues();" onmouseout="iFootieFox.displayUnselectLeagues();" id="ff_notice_noleagues" hidden="true"/>
  122.  
  123.         </menupopup>
  124.     </popup>
  125.     
  126.     
  127.  
  128.  
  129.  
  130.  
  131.     <window id="main-window">
  132.  
  133.       
  134.         
  135.         <vbox id="ff_alert" hidden="true">
  136.  
  137.             <vbox id="ff_alert_vbox" style="position:relative;padding:5px;cursor:pointer;">
  138.                 <hbox>
  139.                     <label id="ff_alerts_goal" style="cursor: pointer;" value="&ff.alerts.goal;"/>
  140.                 </hbox>
  141.                 <hbox width="185px;">
  142.                     <image id="ff_alert_team_logo" style="width:50px;height:50px;"/>
  143.                     <vbox><label id="ff_alert_team_title" style="cursor: pointer;"/>
  144.                         <hbox>
  145.                         <label style="cursor: pointer;" id="ff_alert_score1"/>
  146.                         <label style="cursor: pointer;" id="ff_alert_colon" value=":"/>
  147.                         <label style="cursor: pointer;" id="ff_alert_score2"/>
  148.                         <label style="cursor: pointer;" id="ff_alert_phase"/>
  149.                         </hbox>
  150.                     </vbox>
  151.                 </hbox>
  152.             </vbox>
  153.  
  154.             <box style="cursor:pointer;">
  155.                 
  156.                 <image id="ff_alert_partner" src="chrome://footiefox/skin/kicker/goalalert.png"/>
  157.  
  158.             </box>
  159.             <box>
  160.                 <iframe id="ff_alert_banner"/>
  161.             </box>
  162.  
  163.         </vbox>
  164.         
  165.         <vbox id="ff_notification_banner" style="position:fixed;z-Index:300;overflow-x:auto;overflow-y:hidden;" hidden="true">
  166.              
  167.              <hbox style="vertical-align:top;width:100%;">
  168.                     <spacer flex="1"/><toolbarbutton class="tabs-closebutton" style="cursor:pointer;" oncommand="iFootieFox.closeBanner();" />
  169.                 </hbox>
  170.                 
  171.                 <iframe id="ff_iframe_banner" style="position:absolute;left:0px;border:none;overflow:hidden;"/>
  172.         </vbox>
  173.         
  174.        
  175.  
  176.     </window>
  177.  
  178.  
  179.     <!--statusbar display-->
  180.     <statusbar id="status-bar">
  181.         <statusbarpanel id="footiefox_statusbarpanel">
  182.             
  183.             <deck id="deck_partner_logo" hidden="false">
  184.                 <image style="cursor:pointer;padding-top:1px;padding-bottom:0px;" context="menupopup_partnermenupopup" onclick="iFootieFox.bannerClicked(event, 1)" src="chrome://footiefox/skin/1/statusbar.png" id="statusbarpanel_partner_logo" width="70px"/>
  185.             </deck>
  186.             
  187.             <deck id="deck_team1" hidden="true">
  188.                 <image context="menupopup_icon1menupopup" onclick="iFootieFox.icon1Clicked(event,1);" id="statusbarpanel_flag1" style="cursor: pointer;min-width:30px;max-width:30px;margin-top:1px;max-height:20px;"/>
  189.             </deck>
  190.             <deck id="deck_score" style="cursor: pointer;padding-top:2px;width:30px;" context="menupopup_mainmenupopup" onclick="iFootieFox.scoreClicked(event);" hidden="true">
  191.                 <label id="statusbarpanel_score"/>
  192.                 <!-- <statusbarpanel id="statusbarpanel_score"/> -->
  193.             </deck>
  194.             <deck id="deck_team2" hidden="true">
  195.                 <image context="menupopup_icon2menupopup" onclick="iFootieFox.icon2Clicked(event,2);" id="statusbarpanel_flag2" style="cursor: pointer;min-width:30px;max-width:30px;margin-top:1px;max-height:20px;"/>
  196.             </deck>
  197.             
  198.             <deck id="deck_minimizedlogo" hidden="true" ondblclick="iFootieFox.openOptions()" context="menupopup_mainmenupopup">
  199.                    <image src="chrome://footiefox/skin/logosmall.png" tooltiptext="FootieFox" style="margin-right:2px;margin-left:2px;margin-top:1px;min-width:16px;max-width:16px;min-height:20px;max-height:20px;"/>
  200.      
  201.             </deck>
  202.             
  203.             <deck id="deck_progressmeter" hidden="true">
  204.                 <statusbarpanel id="statubarpanel_progressmeter">
  205.                     <progressmeter id="progressmeter_load" mode="undetermined" width="50"/>
  206.                 </statusbarpanel>
  207.             </deck>
  208.             
  209.             <deck id="deck_footiefox_arrow" style="cursor: pointer;padding-left:3px;padding-right:5px;" hidden="false" onclick="iFootieFox.statusbarArrowClicked(event)">
  210.                 <image id="ff_contextmenu_arrow" style="margin-right:0px;margin-left:0px;margin-top:8px;margin-bottom:10px;min-height:3px;max-height:3px;max-width:5px;list-style-image: url('chrome://footiefox/skin/arrow-up-green.gif');"/>
  211.             </deck>
  212.         </statusbarpanel>
  213.     </statusbar>
  214.     
  215.     <!--<toolbarpalette id="BrowserToolbarPalette">
  216.       <toolbarbutton context="menupopup_partnermenupopup" collapsed="false" hidden="false" disabled="false" id="footiefox-partner-button" class="toolbarbutton-1 chromeclass-toolbar-additional footiefox-partner-button"
  217.             label="Kicker" tooltiptext="Kicker" oncommand="iFootieFox.partner(null, 12);"/>
  218.     </toolbarpalette> -->
  219.  
  220. </overlay>
  221.